Use bool for Emacs Lisp booleans.
authorPaul Eggert <eggert@cs.ucla.edu>
Tue, 14 Aug 2012 17:45:25 +0000 (10:45 -0700)
committerPaul Eggert <eggert@cs.ucla.edu>
Tue, 14 Aug 2012 17:45:25 +0000 (10:45 -0700)
commit0abbc9e529bdaed8d70b66eb3af874a49a4f468e
tree1e146dab300a29ae61eb4d361b6f422580fce9dd
parentfe5f1483c4cd891bd70b4b3e41fdd3fdac3160ec
Use bool for Emacs Lisp booleans.

This is more natural, and on my platform (GCC 4.7.1 x86-64) it
makes Emacs's text size .03% smaller and presumably a bit faster.
* admin/merge-gnulib (GNULIB_MODULES): Add stdbool.  This documents a
new direct dependency; stdbool was already being used indirectly
via other gnulib modules.
* lib-src/make-docfile.c (enum global_type): Sort values roughly in
decreasing alignment, except put functions last.
(compare_globals): Use this new property of enum global_type.
(write_globals): Use bool, not int, for booleans.
* src/lisp.h: Include <stdbool.h>.
(struct Lisp_Boolfwd, defvar_bool):
* src/lread.c (defvar_bool): Use bool, not int, for Lisp booleans.
* src/regex.c [!emacs]: Include <stdbool.h>.
(false, true): Remove; <stdbool.h> does this for us now.
admin/ChangeLog
admin/merge-gnulib
lib-src/ChangeLog
lib-src/make-docfile.c
src/ChangeLog
src/lisp.h
src/lread.c
src/regex.c